package com.example.books.Dao;

import com.example.books.Pojo.NoticeDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface NoticeDao {

    List<NoticeDO> getNotice();

    boolean setNotice(@Param(value = "map")Map<String,Object> map);

    boolean updateNotice(@Param(value = "map") Map<String,Object> map);

    boolean deleteNotice(@Param(value = "map") Map<String, Object> map);

}
